package com.greenhou.pojo;

import javax.sql.DataSource;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;

/**
 * @ClassName Configuration
 * @Description configuration配置信息容器
 * @Author YR
 * @Date 2020/6/8 21:55
 * @Version 1.0
 */
public class Configuration {
    //数据源
    private DataSource dataSource;
    //key是：mapper.xml  namespace+statementid   value 是  MappedStatement对象
    private Map<String,MappedStatement> mappedStatementMap=new HashMap<String, MappedStatement>();

    public DataSource getDataSource() {
        return dataSource;
    }

    public void setDataSource(DataSource dataSource) {
        this.dataSource = dataSource;
    }

    public Map<String, MappedStatement> getMappedStatementMap() {
        return mappedStatementMap;
    }

    public void setMappedStatementMap(Map<String, MappedStatement> mappedStatementMap) {
        this.mappedStatementMap = mappedStatementMap;
    }
}
